# 要放到用例，每个用例都抽取一个函数，自然会携带这其入口和出口
class BaseParam:
    def __init__(self, param_name=None,param_type=None):
        self.param_name = param_name
        self.param_type = param_type

    def __str__(self):
        return '(' + self.param_name + ',' + self.param_type + ')'

class AParams:
    def __init__(self):
        self.params_input:list[BaseParam] = []     # 类数组——记录参数和类型
        self.params_output:list[BaseParam] = []

    def input_append(self,param_name,param_type):
        self.params_input.append(BaseParam(param_name,param_type))

    def output_append(self,param_name,param_type):
        base = BaseParam(param_name, param_type)
        self.params_output.append(base)

